﻿#pragma once

#include "../MonsterObject.h"
#include "../../../Shared/Data/ItemData.h"
#include "../../MirDatabase/MonsterInfo.h"
#include "../PlayerObject.h"
#include <vector>

using namespace Server::MirDatabase;
namespace S = ServerPackets;

namespace Server::MirObjects::Monsters
{
    class HarvestMonster : public MonsterObject
    {
    protected:
        short Quality = 0;
        int RemainingSkinCount = 0;

    private:
        std::vector<UserItem*> _drops;


    protected:
        HarvestMonster(MonsterInfo *info);

        void Drop() override;
    public:
        bool Harvest(PlayerObject *player) override;

        /*
        public override bool MagAttacked(MonsterObject A, int Damage)
        {
            bool B = base.MagAttacked(A, Damage);

            if (B)
                Quality = (short)Math.Max(short.MinValue, Quality - 2000);
            return true;
        }*/
    };
}
